from django.urls import path, include
from rest_framework import routers
from .connection import ConnectionOpenAPI
from . import health, system
from . import data_center


router = routers.DefaultRouter(trailing_slash=False)
router.register(r'connection/connections', ConnectionOpenAPI)

urlpatterns = [
    path(r'', include(router.urls)),
    path(r'health/ping', health.ping),
    path(r'app/info', system.info),
    path(r'data-center/data', data_center.data),
]
